package com.talis.platform.client;

import com.talis.http.Response;

public class ServiceException extends Exception{

    private Response response;
    
    public ServiceException() {
    }
    
    public ServiceException(Response response){
        this.response = response;
    }
    
    public ServiceException(String message, Response response){
        super(message);
        this.response = response;
    }
    
    public ServiceException(String message, Response response, Throwable cause) {
        super(message, cause);
        this.response = response;
    }
    
    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    public Response getServiceResponse(){
        return response;
    }
    
}
